package entity;

import java.io.Serializable;

/**
 * Announcement
 *
 * @author lenovo
 * @since 2023/8/25
 */
public class Announcement implements Serializable {
    private static final long serialVersionUID = 42L;

    //Id
    private int id;

    //标题
    private String title;

    //细节
    private String detail;

    //发布日期
    private String publish_date;

    public Announcement() {
    }

    public Announcement(String title, String detail, String publish_date) {
        this.title = title;
        this.detail = detail;
        this.publish_date = publish_date;
    }

    public Announcement(int id, String title, String detail) {
        this.id = id;
        this.title = title;
        this.detail = detail;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getPublish_date() {
        return publish_date;
    }

    public void setPublish_date(String publish_date) {
        this.publish_date = publish_date;
    }
}
